package com.gtxc.kotlinmvvm.viewmodle

import android.util.Log
import com.aleyn.mvvm.base.BaseViewModel
import com.mot.st.network.request.ApiNetWork

/**
 * FileName:NodeViewModle
 * Author：Administrator
 * Date:2021 2021/9/28 16:25
 * Copyright (C), 2020-2021,成都拇音科技有限公司
 *
 *
 *
 *
 * Description: zwl
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
</desc></version></time></author> */
class NodeViewModle : BaseViewModel(){
    init {
        launchUI {
       val  result=    ApiNetWork.getInstance().getfirstNode()
            if (result.success){
                Log.i("dedwdewfdw","dwde:"+result.resultObj.size)
            }
        }
    }

}